home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / game / role / HammyTown.lha / 10.room < prev    next >
Text File  |  1997-10-22  |  4KB  |  149 lines

  1. /*                     This is a room file for GRAAL
  2. /*
  3. /*                                10.room
  4. /* RF 1=0 First Visit
  5. /* RF 2=0 Hi-Fi not in operation.
  6. /* RF 3=0 Squeaky toy not found.
  7. /* RF 4=0 Don't put comment about door being open.
  8.  
  9. /* UPDATE: scroll_frames;normal_frames
  10. /*
  11. /*
  12. UPDATE: 2;1
  13.  
  14. /* SECTION: section number
  15. SECTION: 1
  16.  
  17. /* BG_IFF: filename
  18. BG_IFF: 10BG.IFF
  19.  
  20. /* START_POS: sposno;bobimage;x;y;camera;floor
  21. /*
  22. /* 1->Hallway, 2->Toolshed
  23. START_POS: 1;13;6;106;L;1
  24. START_POS: 2;11;361;97;R;1
  25.  
  26. /* FLOOR: floorno;x1;y1;x2;y2;floormap/.../floormap
  27. /*
  28. FLOOR: 1;0;93;399;120;1-1
  29.  
  30. /* EXIT: no;x1;y1;x2;y2;epointx;epointy;description
  31. /*
  32. EXIT: 1;0;57;36;120;6;109;Hallway
  33. EXIT: 2;347;37;377;92;352;95;Room
  34.  
  35. /* CLPART: filename
  36. /*
  37. CLPART: 10FG.IFF
  38.  
  39. /* ROOMBOBS: no_of_imgs;startrbob;grabx;graby;width;height;xoffset;hotsp
  40. /*
  41. /* 1 is the Hammy Electronics CD Player!
  42. ROOMBOBS: 1;1;37;9;76;16;20;0
  43. /* 2 is the the badly drawn sofa.
  44. ROOMBOBS: 1;2;118;9;23;28;0;0
  45.  
  46. /* STATIC: bobno;LBOBimage;putx;puty
  47. /*
  48.  
  49. /* ANIM: bobno;bobimg;amalchannel;amalsequence;putx;puty
  50.  
  51. /* ROOMOBJ: roomobjno,object_definition.... (see graal.main documentation)
  52. /*
  53. ROOMOBJ: 1;CD Player;10;VIS;51;RBOB1;181;64;-16;31;14; ;NPICK; ;8; ;HIGH; ;a;it; 
  54. ROOMOBJ: 2;Sofa;10;VIS;50;RBOB2;327;95;-14;1;14; ;NPICK; ;8; ;LOW; ;a;it; 
  55.  
  56.  
  57. /* DACT: condition;...;action;...
  58. /*
  59. /* Light up scene
  60. DACT: IFRF 2=0;TRACK NO
  61. DACT: IFRF 2=1;TRACK MUSIC.04.MOD,LOOP,NOFILTER
  62. DACT: LIGHTS ON
  63. DACT: IFRF 1=0;SAY Wow, nice one!;SAY A Hammy Electronics Hi-Fi System!;SAY At least this guy's taste in Hi-Fi is better than his taste in wallpaper!;SETRF 1=1;EXIT
  64.  
  65. /* LINE: dlgno;lineno;line;reuseline;conditions
  66. /* LACT: dlgno;lineno;action;...;action
  67.  
  68.  
  69.  
  70. /* Room actions follow below ***
  71. /*
  72. /* ACTION: verbno;condition;...;command;...
  73.  
  74. /*
  75. /* Action 0 - Exit
  76. /* ===============
  77. /*
  78. ACTION: 0;IFOBJ 1;MEXIT;GOTO 9,2
  79. ACTION: 0;IFOBJ 2;IFRF 2=0;MEXIT;HANDLE;W 50;HANDLE -1;SAY The door seems to be stuck.;EXIT
  80. ACTION: 0;IFOBJ 2;IFRF 2=0;IFCARR 32;SAY The key doesn't help much, either.;EXIT
  81. ACTION: 0;IFOBJ 2;IFRF 4=1;MEXIT;SAY Hey, the bass seems to have dislodged the door!;SETRF 4=0
  82. ACTION: 0;IFOBJ 2;MEXIT;GOTO 12,1;EXIT
  83.  
  84. /*
  85. /* Action 1 - Give
  86. /* ===============
  87. /*
  88. /*
  89. /* Action 2- Pick up
  90. /* =================
  91. /*
  92. ACTION: 2;IFOBJ ROBJ1;SAY Much as I would love to have it...;SAY I don't feel like carrying a CD player round for the rest of the game.;EXIT
  93. ACTION: 2;IFOBJ ROBJ2;VERB 9;REDO
  94.  
  95. /*
  96. /* Action 3 - Use
  97. /* ==============
  98. /*
  99.  
  100. ACTION: 3;IFOBJ ROBJ1;IFRF 2=0;SAY I can't, there is no CD in it.;EXIT
  101. ACTION: 3;IFOBJ ROBJ1;IFRF 2=1;SAY I'm not going to turn it off, I am enjoying the music!;EXIT
  102. ACTION: 3;IFOBJ ROBJ2;SAY No thanks, I don't want to sit down.;SAY I'd rather have fun trying to finish this adventure!;EXIT
  103. ACTION: 3;IFOBJ 10;IFOBJ2 ROBJ1;MOBJ ROBJ1;SETRF 2=1;SAY Okay, let's play some music!;HANDLE;W 50;HANDLE -1;TRACK MUSIC.04.MOD,LOOP,NOFILTER;SETRF 4=1;REMOVE 10,U,0;EXIT
  104.  
  105. ACTION: 3;IFOBJ 29;IFOBJ2 ROBJ1;SAY Come on! Put the tape in the CD player?!;SAY I don't really want to put it in the tape deck, either. It will probably clog up the tape heads with rust!;EXIT
  106.  
  107. /* Action 4 - Open
  108. /* ===============
  109. /*
  110. ACTION: 4;IFOBJ ROBJ1;IFRF 2=1;SAY No thanks, I quite like this music!;EXIT
  111. ACTION: 4;IFOBJ ROBJ1;IFNOTCARR 10;SAY No point in that- I have no CD to put in it.;EXIT
  112. ACTION: 4;IFOBJ ROBJ1;SAY Well, why don't you try putting the CD in?;EXIT
  113. ACTION: 4;IFOBJ ROBJ2;VERB 9;REDO
  114.  
  115.  
  116. /* Action 5 - Talk to
  117. /* ==================
  118. /*
  119.  
  120. /*
  121. /* Action 6 - Push
  122. /* ===============
  123. /*
  124. ACTION: 6;IFOBJ ROBJ2;VERB 9;REDO
  125.  
  126. /*
  127. /* Action 7 - Close
  128. /* ================
  129.  
  130. ACTION: 7;IFOBJ ROBJ1;SAY The CD drawer is already shut.;EXIT
  131.  
  132. /*
  133. /* Action 8 - Look at
  134. /* ==================
  135. /*
  136. ACTION: 8;MOBJ
  137. ACTION: 8;IFOBJ ROBJ1;SAY Hammy Electronics CD player.;SAY What a lovely machine!;EXIT
  138. ACTION: 8;IFOBJ ROBJ2;SAY What a dodgy looking sofa.;EXIT
  139. /*
  140. /* Action 9 - Pull
  141. /* ===============
  142. /*
  143. ACTION: 9;MOBJ
  144. ACTION: 9;IFOBJ ROBJ2;IFRF 3=0;SAY Hey, there's a squeaky toy under here!;GET 14,U;SETRF 3=1;EXIT
  145. ACTION: 9;IFOBJ ROBJ2;SAY I've already taken the squeaky toy, there is nothing else there.;EXIT
  146.  
  147. /* End of room file. Some comments must be here, otherwise  the last command
  148. /* line is missed out!
  149.